Xceed .NET Libraries Documentation
Xceed.Ftp Assembly / Xceed.Ftp Namespace / QuickFtp Class / Send Method / Send(String,String,String[]) Method
The hostname of the FTP server to connect to. An IP address can also be used.
The remote destination folder into which the files will be placed.
A list of strings representing the files to be transferred. File paths may not start with a \ or a /. If a path represents a folder, it must end with a / or a \.


In This Topic
    Send(String,String,String[]) Method
    In This Topic
    Sends a list of files to a remote folder on an FTP server.
    Syntax
    'Declaration
     
    Public Overloads Shared Sub Send( _
       ByVal hostname As String, _
       ByVal remoteDestinationFolder As String, _
       ByVal ParamArray filesToSend() As String _
    ) 
    'Usage
     
    Dim hostname As String
    Dim remoteDestinationFolder As String
    Dim filesToSend() As String
     
    QuickFtp.Send(hostname, remoteDestinationFolder, filesToSend)
    public static void Send( 
       string hostname,
       string remoteDestinationFolder,
       params string[] filesToSend
    )

    Parameters

    hostname
    The hostname of the FTP server to connect to. An IP address can also be used.
    remoteDestinationFolder
    The remote destination folder into which the files will be placed.
    filesToSend
    A list of strings representing the files to be transferred. File paths may not start with a \ or a /. If a path represents a folder, it must end with a / or a \.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also